package com.sigmatrix.h5.entity;

import java.io.Serializable;
import java.util.Date;

import com.sigmatrix.sc.jdbc.common.annotation.Column;
import com.sigmatrix.sc.jdbc.common.annotation.Table;

@Table("_dealers_warehouse")
public class DealerWareHouse implements Serializable{
	
	private static final long serialVersionUID = -6116124904299809992L;

	@Column(value="_id",id=true)
	private Integer id;
	
	@Column("_code")
	private String code;
	
	@Column("_name")
	private String name;
	
	@Column("_dealer_id")
	private Integer dealerId;
	
	@Column("_status")
	private Short status;
	
	@Column("_creator_id")
	private Integer creatorId;
	
	@Column("_create_time")
	private Date createTime;
	
	@Column("_update_id")
	private Integer updateId;
	
	@Column("_update_time")
	private Date updateTime;
	
	@Column("_enable_id")
	private Integer enableId;
	
	@Column("_enable_time")
	private Date enableTime;
	
	@Column("_disable_id")
	private Integer disableId;
	
	@Column("_disable_time")
	private Date disableTime;
	
	@Column("_province_id")
	private Integer provinceId;
	
	@Column("_city_id")
	private Integer cityId;
	
	@Column("_city_sub_ordinate")
	private Integer citySubOrdinate;
	
	@Column("_address")
	private String address;
	
	@Column("_remarks")
	private String remarks;
	
	@Column("_is_default")
	private Short isDeafult;//1代表默认仓库

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getDealerId() {
		return dealerId;
	}

	public void setDealerId(Integer dealerId) {
		this.dealerId = dealerId;
	}

	public Integer getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getEnableId() {
		return enableId;
	}

	public void setEnableId(Integer enableId) {
		this.enableId = enableId;
	}

	public Date getEnableTime() {
		return enableTime;
	}

	public void setEnableTime(Date enableTime) {
		this.enableTime = enableTime;
	}

	public Integer getDisableId() {
		return disableId;
	}

	public void setDisableId(Integer disableId) {
		this.disableId = disableId;
	}

	public Date getDisableTime() {
		return disableTime;
	}

	public void setDisableTime(Date disableTime) {
		this.disableTime = disableTime;
	}

	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getCitySubOrdinate() {
		return citySubOrdinate;
	}

	public void setCitySubOrdinate(Integer citySubOrdinate) {
		this.citySubOrdinate = citySubOrdinate;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Short getIsDeafult() {
		return isDeafult;
	}

	public void setIsDeafult(Short isDeafult) {
		this.isDeafult = isDeafult;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}
	
}
